FluentBooking\App\Models\CalendarSlot D

Total Complexity 208
Dependencies 13
Dependents 31
Total lines 1,144
Lines of code 808
Logical lines of code 373
Comment lines 16
Methods 88
Properties 3

Methods 88

Method Rating Maintainability Complexity Lines of code
getNotifications()
A
49 10 32
getMinBookableDateTime()
S
56 7 17
isConfirmationRequired()
S
55 6 18
getDirty()
S
58 6 15
getMaxLookUpDate()
S
58 6 14
getAuthorProfile()
S
55 5 20
getLocationFields()
S
43 2 62
getPaymentHtml()
S
58 5 15
getMinLookUpDate()
S
58 5 14
isPaymentEnabled()
S
61 5 12
getMaxBookableDateTime()
S
57 4 16
getDateOverrides()
S
58 4 15
getPublicUrl()
S
60 4 14
getWeeklySlots()
S
59 4 13
getScheduleTimezone()
S
62 4 11
getPaymentSettings()
S
49 2 34
getHostIdsSortedByBookings()
S
57 3 16
getWooProductPrice()
S
59 3 14
getWooProductPriceByDuration()
S
62 3 12
getPricingTotal()
S
63 3 11
getAuthorProfiles()
S
62 3 11
boot()
S
63 3 11
getEventDefaultData()
S
47 1 39
getEventSchema()
S
54 2 23
updateMeta()
S
57 2 18
getSlotSettingsSchema()
S
58 2 16
getSlotInterval()
S
69 3 6
getDescription()
S
66 3 9
getCutoutSeconds()
S
66 3 7
getDuration()
S
64 3 10
getHostIds()
S
66 3 9
getPaymentItems()
S
64 3 9
isTeamCommonSchedule()
S
68 3 8
isTeamDefaultSchedule()
S
67 3 8
getCanNotCancelSettings()
S
63 3 10
getCanNotRescheduleSettings()
S
63 3 10
defaultLocationHtml()
S
64 3 10
isProEvent()
S
79 3 3
getAvailableDurations()
S
61 2 12
isOneOffEvent()
S
79 2 3
isRoundRobinCommonSchedule()
S
79 2 3
isCollectiveDefaultSchedule()
S
79 2 3
getMeta()
S
64 2 10
isTeamEvent()
S
79 2 3
isRoundRobinDefaultSchedule()
S
79 2 3
setSettingsAttribute()
S
66 2 8
isMultiHostEvent()
S
79 2 3
isMultiHostsEvent()
S
79 2 3
isLocationFieldRequired()
S
68 2 7
isPhoneRequired()
S
70 2 6
isAddressRequired()
S
70 2 6
isMultiGuestEvent()
S
79 2 3
getHostSchedule()
S
68 2 7
getHostsSchedules()
S
66 2 8
isWooEnabled()
S
78 2 3
getDefaultDuration()
S
71 2 6
getProcessedWeeklySlots()
S
69 1 6
getProcessedDateOverrides()
S
66 1 8
getLocationSettingsAttribute()
S
80 1 3
getCalendarEventsMeta()
S
71 1 6
getSettingsAttribute()
S
80 1 3
getIntegrationsMeta()
S
71 1 6
calendar()
S
79 1 3
getShortDescriptionAttribute()
S
69 1 6
setLocationSettingsAttribute()
S
78 1 3
bookings()
S
79 1 3
user()
S
79 1 3
multiBookingLimit()
S
79 1 3
event_metas()
S
74 1 4
isCollective()
S
80 1 3
isGuestFieldRequired()
S
82 1 3
setNotifications()
S
80 1 3
getBookingFields()
S
80 1 3
setBookingFields()
S
79 1 3
isMultiDurationEnabled()
S
79 1 3
isReserveTime()
S
79 1 3
getTotalBufferTime()
S
72 1 5
getMaxBookingPerSlot()
S
82 1 3
isGroup()
S
80 1 3
isRoundRobin()
S
80 1 3
allowMultiBooking()
S
79 1 3
isGroupEvent()
S
80 1 3
isDisplaySpots()
S
80 1 3
isAdditionalGuestEnabled()
S
74 1 4
isConfirmationEnabled()
S
79 1 3
isSingleEvent()
S
80 1 3
defaultPaymentIcon()
S
72 1 5
getAvailableTimes()
S
79 1 3